home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / Misc / GMS / GMSDev / EModules / files / objects.e < prev    next >
Encoding:
Text File  |  1997-11-30  |  1.1 KB  |  47 lines

  1. /*
  2. **  $VER: objects.e V0.9B
  3. **
  4. **  Object definitions.
  5. **
  6. **  (C) Copyright 1996-1997 DreamWorld Productions.
  7. **      All Rights Reserved.
  8. */
  9.  
  10. OPT MODULE
  11. OPT EXPORT
  12. OPT PREPROCESS
  13.  
  14. MODULE 'dpkernel/dpkernel','system/register','files/segments'
  15.  
  16. /****************************************************************************
  17. ** Object entries.
  18. */
  19.  
  20. OBJECT objectentry      /* Entry stucture for GetObjectList() */
  21.   name   :PTR TO CHAR   /* Pointer to the name, may be NULL */
  22.   object :LONG          /* Object is returned here */
  23. ENDOBJECT
  24.  
  25. OBJECT dataheader    /* Private structure for object headers */
  26.   type :LONG         /* Type of object, eg STRC, CODE, DATA */
  27.   next :LONG         /* Offset towards next object */
  28. ENDOBJECT
  29.  
  30. /*****************************************************************************
  31. ** Object-File.
  32. */
  33.  
  34. CONST OBJVERSION      = 1,
  35.       TAGS_OBJECTFILE = $FFFB0000 OR ID_OBJECTFILE
  36.  
  37. OBJECT objectfile
  38.   head[1]  :ARRAY OF head
  39.   source   :LONG
  40.   segments :PTR TO segment
  41.   data     :LONG
  42. ENDOBJECT
  43.  
  44. CONST OBJA_Source   = 12 OR TAPTR,
  45.       OBJA_Segments = 16 OR TAPTR,
  46.       OBJA_Data     = 20 OR TAPTR
  47.